﻿using System.Data;
public class TestResultType1Report : DataTable
{
    public TestResultType1Report()
    {
        TableName = "TestResultReport";
        Columns.Add("name", typeof(string)).AllowDBNull = true;
        Columns.Add("sex", typeof(string)).AllowDBNull = true;
        Columns.Add("age", typeof(string)).AllowDBNull = true;
        Columns.Add("datein", typeof(string)).AllowDBNull = true;
        Columns.Add("Resdate", typeof(string)).AllowDBNull = true;
        Columns.Add("nametest", typeof(string)).AllowDBNull = true;
        Columns.Add("result", typeof(string)).AllowDBNull = true;
        Columns.Add("pre_code", typeof(string)).AllowDBNull = true;
        Columns.Add("unit", typeof(string)).AllowDBNull = true;
        Columns.Add("docsex", typeof(string)).AllowDBNull = true;
        Columns.Add("docname", typeof(string)).AllowDBNull = true;
        Columns.Add("Decsg", typeof(string)).AllowDBNull = true;
        Columns.Add("Sname", typeof(string)).AllowDBNull = true;
        Columns.Add("Scode", typeof(string)).AllowDBNull = true;
    }

    public override DataTable Clone()
    {
        return (TestResultType1Report)base.Clone();
    }
}

public class TestResultType2Report : DataTable
{
    public TestResultType2Report()
    {
        TableName = "TestResultType2Report";
        Columns.Add("uniqcode", typeof(string)).AllowDBNull = true;
        Columns.Add("codetest", typeof(string)).AllowDBNull = true;
        Columns.Add("nametest", typeof(string)).AllowDBNull = true;
        Columns.Add("codesec", typeof(string)).AllowDBNull = true;
        Columns.Add("titrmic", typeof(string)).AllowDBNull = true;
        Columns.Add("javabmic", typeof(string)).AllowDBNull = true;
        Columns.Add("normmic", typeof(string)).AllowDBNull = true;
        Columns.Add("Sname", typeof(string)).AllowDBNull = true;
        Columns.Add("Scode", typeof(string)).AllowDBNull = true;
        Columns.Add("pre_code", typeof(string)).AllowDBNull = true;
        Columns.Add("sex", typeof(string)).AllowDBNull = true;
        Columns.Add("age", typeof(string)).AllowDBNull = true;
        Columns.Add("datein", typeof(string)).AllowDBNull = true;
        Columns.Add("Resdate", typeof(string)).AllowDBNull = true;
        Columns.Add("docname", typeof(string)).AllowDBNull = true;
        Columns.Add("name", typeof(string)).AllowDBNull = true;
    }

    public override DataTable Clone()
    {
        return (TestResultType2Report)base.Clone();
    }
}